<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
<meta name="generator" content="Doxygen 1.8.12"/>
<meta name="viewport" content="width=device-width, initial-scale=1"/>
<title>emp-toolkit: Bit Class Reference</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="dynsections.js"></script>
<link href="navtree.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="resize.js"></script>
<script type="text/javascript" src="navtreedata.js"></script>
<script type="text/javascript" src="navtree.js"></script>
<script type="text/javascript">
  $(document).ready(initResizable);
</script>
<link href="search/search.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="search/searchdata.js"></script>
<script type="text/javascript" src="search/search.js"></script>
<link href="doxygen.css" rel="stylesheet" type="text/css" />
</head>
<body>
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
 <tbody>
 <tr style="height: 56px;">
  <td id="projectlogo"><img alt="Logo" src="logo-full-doxygen.png"/></td>
  <td id="projectalign" style="padding-left: 0.5em;">
   <div id="projectname">emp-toolkit
   </div>
  </td>
 </tr>
 </tbody>
</table>
</div>
<!-- end header part -->
<!-- Generated by Doxygen 1.8.12 -->
<script type="text/javascript">
var searchBox = new SearchBox("searchBox", "search",false,'Search');
</script>
<script type="text/javascript" src="menudata.js"></script>
<script type="text/javascript" src="menu.js"></script>
<script type="text/javascript">
$(function() {
  initMenu('',true,false,'search.php','Search');
  $(document).ready(function() { init_search(); });
});
</script>
<div id="main-nav"></div>
</div><!-- top -->
<div id="side-nav" class="ui-resizable side-nav-resizable">
  <div id="nav-tree">
    <div id="nav-tree-contents">
      <div id="nav-sync" class="sync"></div>
    </div>
  </div>
  <div id="splitbar" style="-moz-user-select:none;" 
       class="ui-resizable-handle">
  </div>
</div>
<script type="text/javascript">
$(document).ready(function(){initNavTree('class_bit.html','');});
</script>
<div id="doc-content">
<!-- window showing the filter options -->
<div id="MSearchSelectWindow"
     onmouseover="return searchBox.OnSearchSelectShow()"
     onmouseout="return searchBox.OnSearchSelectHide()"
     onkeydown="return searchBox.OnSearchSelectKey(event)">
</div>

<!-- iframe showing the search results (closed by default) -->
<div id="MSearchResultsWindow">
<iframe src="javascript:void(0)" frameborder="0" 
        name="MSearchResults" id="MSearchResults">
</iframe>
</div>

<div class="header">
  <div class="summary">
<a href="#pub-methods">Public Member Functions</a> &#124;
<a href="#pub-static-methods">Static Public Member Functions</a> &#124;
<a href="#pub-attribs">Public Attributes</a> &#124;
<a href="class_bit-members.html">List of all members</a>  </div>
  <div class="headertitle">
<div class="title">Bit Class Reference</div>  </div>
</div><!--header-->
<div class="contents">

<p><code>#include &lt;<a class="el" href="bit_8h_source.html">bit.h</a>&gt;</code></p>
<div class="dynheader">
Inheritance diagram for Bit:</div>
<div class="dyncontent">
 <div class="center">
  <img src="class_bit.png" usemap="#Bit_map" alt=""/>
  <map id="Bit_map" name="Bit_map">
<area href="class_swappable.html" alt="Swappable&lt; Bit &gt;" shape="rect" coords="0,0,112,24"/>
</map>
 </div></div>
<table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-methods"></a>
Public Member Functions</h2></td></tr>
<tr class="memitem:a351d0f0582c40cd783502d017c129e32"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_bit.html#a351d0f0582c40cd783502d017c129e32">Bit</a> (bool _b=false, int <a class="el" href="input-check-malicious_8cpp.html#aefdd5aa9f02e7cb8d21ea22b0e6b03df">party</a>=<a class="el" href="utils_8h.html#ad17d551e31d1828c68acf40684849b7e">PUBLIC</a>)</td></tr>
<tr class="separator:a351d0f0582c40cd783502d017c129e32"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aeb23d0e805c51ad50d81c22bc1079cf5"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_bit.html#aeb23d0e805c51ad50d81c22bc1079cf5">Bit</a> (const <a class="el" href="garble_2block_8h.html#a65abbf31b0a30290189cdb5059b5f785">block</a> &amp;a)</td></tr>
<tr class="separator:aeb23d0e805c51ad50d81c22bc1079cf5"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a2a79f99742281ad5374dab3c04e75e8e"><td class="memTemplParams" colspan="2">template&lt;typename O  = bool&gt; </td></tr>
<tr class="memitem:a2a79f99742281ad5374dab3c04e75e8e"><td class="memTemplItemLeft" align="right" valign="top">O&#160;</td><td class="memTemplItemRight" valign="bottom"><a class="el" href="class_bit.html#a2a79f99742281ad5374dab3c04e75e8e">reveal</a> (int <a class="el" href="input-check-malicious_8cpp.html#aefdd5aa9f02e7cb8d21ea22b0e6b03df">party</a>=<a class="el" href="utils_8h.html#ad17d551e31d1828c68acf40684849b7e">PUBLIC</a>) const</td></tr>
<tr class="separator:a2a79f99742281ad5374dab3c04e75e8e"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a0fe8e984e00b19e47ad39463c0e39947"><td class="memItemLeft" align="right" valign="top"><a class="el" href="class_bit.html">Bit</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_bit.html#a0fe8e984e00b19e47ad39463c0e39947">operator!=</a> (const <a class="el" href="class_bit.html">Bit</a> &amp;rhs) const</td></tr>
<tr class="separator:a0fe8e984e00b19e47ad39463c0e39947"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a903cb6304de59d6052bda23cb9d1ca31"><td class="memItemLeft" align="right" valign="top"><a class="el" href="class_bit.html">Bit</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_bit.html#a903cb6304de59d6052bda23cb9d1ca31">operator==</a> (const <a class="el" href="class_bit.html">Bit</a> &amp;rhs) const</td></tr>
<tr class="separator:a903cb6304de59d6052bda23cb9d1ca31"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a0692647b16d3c11c217b4b506c3de1c7"><td class="memItemLeft" align="right" valign="top"><a class="el" href="class_bit.html">Bit</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_bit.html#a0692647b16d3c11c217b4b506c3de1c7">operator&amp;</a> (const <a class="el" href="class_bit.html">Bit</a> &amp;rhs) const</td></tr>
<tr class="separator:a0692647b16d3c11c217b4b506c3de1c7"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:addd311c153d4f79dcac55eb6d0928982"><td class="memItemLeft" align="right" valign="top"><a class="el" href="class_bit.html">Bit</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_bit.html#addd311c153d4f79dcac55eb6d0928982">operator|</a> (const <a class="el" href="class_bit.html">Bit</a> &amp;rhs) const</td></tr>
<tr class="separator:addd311c153d4f79dcac55eb6d0928982"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a0bfb9bde2d61ca3d981349f84dc07417"><td class="memItemLeft" align="right" valign="top"><a class="el" href="class_bit.html">Bit</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_bit.html#a0bfb9bde2d61ca3d981349f84dc07417">operator!</a> () const</td></tr>
<tr class="separator:a0bfb9bde2d61ca3d981349f84dc07417"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a54d49c4cd833d2671dfc75e462a7953e"><td class="memItemLeft" align="right" valign="top"><a class="el" href="class_bit.html">Bit</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_bit.html#a54d49c4cd833d2671dfc75e462a7953e">select</a> (const <a class="el" href="class_bit.html">Bit</a> &amp;select, const <a class="el" href="class_bit.html">Bit</a> &amp;new_v) const</td></tr>
<tr class="separator:a54d49c4cd833d2671dfc75e462a7953e"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a2e37289dba24fd82a30e036c4131a5b8"><td class="memItemLeft" align="right" valign="top"><a class="el" href="class_bit.html">Bit</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_bit.html#a2e37289dba24fd82a30e036c4131a5b8">operator^</a> (const <a class="el" href="class_bit.html">Bit</a> &amp;rhs) const</td></tr>
<tr class="separator:a2e37289dba24fd82a30e036c4131a5b8"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:af0969ef9bf52a976f7c6b5b3cb5c218a"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_bit.html#af0969ef9bf52a976f7c6b5b3cb5c218a">Bit</a> (size_t size, const <a class="el" href="garble_2block_8h.html#a65abbf31b0a30290189cdb5059b5f785">block</a> *a)</td></tr>
<tr class="separator:af0969ef9bf52a976f7c6b5b3cb5c218a"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a8e487e31bdc1b991f00347c309e1ae0c"><td class="memTemplParams" colspan="2">template&lt;&gt; </td></tr>
<tr class="memitem:a8e487e31bdc1b991f00347c309e1ae0c"><td class="memTemplItemLeft" align="right" valign="top">string&#160;</td><td class="memTemplItemRight" valign="bottom"><a class="el" href="class_bit.html#a8e487e31bdc1b991f00347c309e1ae0c">reveal</a> (int <a class="el" href="input-check-malicious_8cpp.html#aefdd5aa9f02e7cb8d21ea22b0e6b03df">party</a>) const</td></tr>
<tr class="separator:a8e487e31bdc1b991f00347c309e1ae0c"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="inherit_header pub_methods_class_swappable"><td colspan="2" onclick="javascript:toggleInherit('pub_methods_class_swappable')"><img src="closed.png" alt="-"/>&#160;Public Member Functions inherited from <a class="el" href="class_swappable.html">Swappable&lt; Bit &gt;</a></td></tr>
<tr class="memitem:ac97b7bae2309410714c7416f1de53378 inherit pub_methods_class_swappable"><td class="memItemLeft" align="right" valign="top"><a class="el" href="class_bit.html">Bit</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_swappable.html#ac97b7bae2309410714c7416f1de53378">If</a> (const <a class="el" href="class_bit.html">Bit</a> &amp;sel, const <a class="el" href="class_bit.html">Bit</a> &amp;rhs) const</td></tr>
<tr class="separator:ac97b7bae2309410714c7416f1de53378 inherit pub_methods_class_swappable"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-static-methods"></a>
Static Public Member Functions</h2></td></tr>
<tr class="memitem:af88948ab449ec4560054556a03b81e6e"><td class="memTemplParams" colspan="2">template&lt;typename... Args&gt; </td></tr>
<tr class="memitem:af88948ab449ec4560054556a03b81e6e"><td class="memTemplItemLeft" align="right" valign="top">static size_t&#160;</td><td class="memTemplItemRight" valign="bottom"><a class="el" href="class_bit.html#af88948ab449ec4560054556a03b81e6e">bool_size</a> (Args &amp;&amp;... args)</td></tr>
<tr class="separator:af88948ab449ec4560054556a03b81e6e"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a4a486749a90688e308d6dc51fda51285"><td class="memItemLeft" align="right" valign="top">static void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_bit.html#a4a486749a90688e308d6dc51fda51285">bool_data</a> (bool *b, bool data)</td></tr>
<tr class="separator:a4a486749a90688e308d6dc51fda51285"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-attribs"></a>
Public Attributes</h2></td></tr>
<tr class="memitem:a91ecea0b6e1464d2353040bbfa184853"><td class="memItemLeft" align="right" valign="top"><a class="el" href="garble_2block_8h.html#a65abbf31b0a30290189cdb5059b5f785">block</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_bit.html#a91ecea0b6e1464d2353040bbfa184853">bit</a></td></tr>
<tr class="separator:a91ecea0b6e1464d2353040bbfa184853"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table>
<h2 class="groupheader">Constructor &amp; Destructor Documentation</h2>
<a id="a351d0f0582c40cd783502d017c129e32"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a351d0f0582c40cd783502d017c129e32">&sect;&nbsp;</a></span>Bit() <span class="overload">[1/3]</span></h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">Bit::Bit </td>
          <td>(</td>
          <td class="paramtype">bool&#160;</td>
          <td class="paramname"><em>_b</em> = <code>false</code>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">int&#160;</td>
          <td class="paramname"><em>party</em> = <code><a class="el" href="utils_8h.html#ad17d551e31d1828c68acf40684849b7e">PUBLIC</a></code>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

</div>
</div>
<a id="aeb23d0e805c51ad50d81c22bc1079cf5"></a>
<h2 class="memtitle"><span class="permalink"><a href="#aeb23d0e805c51ad50d81c22bc1079cf5">&sect;&nbsp;</a></span>Bit() <span class="overload">[2/3]</span></h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">Bit::Bit </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="garble_2block_8h.html#a65abbf31b0a30290189cdb5059b5f785">block</a> &amp;&#160;</td>
          <td class="paramname"><em>a</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

</div>
</div>
<a id="af0969ef9bf52a976f7c6b5b3cb5c218a"></a>
<h2 class="memtitle"><span class="permalink"><a href="#af0969ef9bf52a976f7c6b5b3cb5c218a">&sect;&nbsp;</a></span>Bit() <span class="overload">[3/3]</span></h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">Bit::Bit </td>
          <td>(</td>
          <td class="paramtype">size_t&#160;</td>
          <td class="paramname"><em>size</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const <a class="el" href="garble_2block_8h.html#a65abbf31b0a30290189cdb5059b5f785">block</a> *&#160;</td>
          <td class="paramname"><em>a</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

</div>
</div>
<h2 class="groupheader">Member Function Documentation</h2>
<a id="a4a486749a90688e308d6dc51fda51285"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a4a486749a90688e308d6dc51fda51285">&sect;&nbsp;</a></span>bool_data()</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">static void Bit::bool_data </td>
          <td>(</td>
          <td class="paramtype">bool *&#160;</td>
          <td class="paramname"><em>b</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">bool&#160;</td>
          <td class="paramname"><em>data</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span><span class="mlabel">static</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

</div>
</div>
<a id="af88948ab449ec4560054556a03b81e6e"></a>
<h2 class="memtitle"><span class="permalink"><a href="#af88948ab449ec4560054556a03b81e6e">&sect;&nbsp;</a></span>bool_size()</h2>

<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;typename... Args&gt; </div>
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">static size_t Bit::bool_size </td>
          <td>(</td>
          <td class="paramtype">Args &amp;&amp;...&#160;</td>
          <td class="paramname"><em>args</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span><span class="mlabel">static</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

</div>
</div>
<a id="a0bfb9bde2d61ca3d981349f84dc07417"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a0bfb9bde2d61ca3d981349f84dc07417">&sect;&nbsp;</a></span>operator!()</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="class_bit.html">Bit</a> Bit::operator! </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td> const</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

</div>
</div>
<a id="a0fe8e984e00b19e47ad39463c0e39947"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a0fe8e984e00b19e47ad39463c0e39947">&sect;&nbsp;</a></span>operator!=()</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="class_bit.html">Bit</a> <a class="el" href="class_bit.html#a0bfb9bde2d61ca3d981349f84dc07417">Bit::operator!</a>= </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="class_bit.html">Bit</a> &amp;&#160;</td>
          <td class="paramname"><em>rhs</em></td><td>)</td>
          <td> const</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

</div>
</div>
<a id="a0692647b16d3c11c217b4b506c3de1c7"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a0692647b16d3c11c217b4b506c3de1c7">&sect;&nbsp;</a></span>operator&()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="class_bit.html">Bit</a> Bit::operator &amp; </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="class_bit.html">Bit</a> &amp;&#160;</td>
          <td class="paramname"><em>rhs</em></td><td>)</td>
          <td> const</td>
        </tr>
      </table>
</div><div class="memdoc">

</div>
</div>
<a id="a903cb6304de59d6052bda23cb9d1ca31"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a903cb6304de59d6052bda23cb9d1ca31">&sect;&nbsp;</a></span>operator==()</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="class_bit.html">Bit</a> Bit::operator== </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="class_bit.html">Bit</a> &amp;&#160;</td>
          <td class="paramname"><em>rhs</em></td><td>)</td>
          <td> const</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

</div>
</div>
<a id="a2e37289dba24fd82a30e036c4131a5b8"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a2e37289dba24fd82a30e036c4131a5b8">&sect;&nbsp;</a></span>operator^()</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="class_bit.html">Bit</a> Bit::operator^ </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="class_bit.html">Bit</a> &amp;&#160;</td>
          <td class="paramname"><em>rhs</em></td><td>)</td>
          <td> const</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

</div>
</div>
<a id="addd311c153d4f79dcac55eb6d0928982"></a>
<h2 class="memtitle"><span class="permalink"><a href="#addd311c153d4f79dcac55eb6d0928982">&sect;&nbsp;</a></span>operator|()</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="class_bit.html">Bit</a> Bit::operator| </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="class_bit.html">Bit</a> &amp;&#160;</td>
          <td class="paramname"><em>rhs</em></td><td>)</td>
          <td> const</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

</div>
</div>
<a id="a2a79f99742281ad5374dab3c04e75e8e"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a2a79f99742281ad5374dab3c04e75e8e">&sect;&nbsp;</a></span>reveal() <span class="overload">[1/2]</span></h2>

<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;typename O &gt; </div>
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">O Bit::reveal </td>
          <td>(</td>
          <td class="paramtype">int&#160;</td>
          <td class="paramname"><em>party</em> = <code><a class="el" href="utils_8h.html#ad17d551e31d1828c68acf40684849b7e">PUBLIC</a></code></td><td>)</td>
          <td> const</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

</div>
</div>
<a id="a8e487e31bdc1b991f00347c309e1ae0c"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a8e487e31bdc1b991f00347c309e1ae0c">&sect;&nbsp;</a></span>reveal() <span class="overload">[2/2]</span></h2>

<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;&gt; </div>
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">string Bit::reveal </td>
          <td>(</td>
          <td class="paramtype">int&#160;</td>
          <td class="paramname"><em>party</em></td><td>)</td>
          <td> const</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

</div>
</div>
<a id="a54d49c4cd833d2671dfc75e462a7953e"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a54d49c4cd833d2671dfc75e462a7953e">&sect;&nbsp;</a></span>select()</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="class_bit.html">Bit</a> Bit::select </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="class_bit.html">Bit</a> &amp;&#160;</td>
          <td class="paramname"><em>select</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const <a class="el" href="class_bit.html">Bit</a> &amp;&#160;</td>
          <td class="paramname"><em>new_v</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td> const</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

</div>
</div>
<h2 class="groupheader">Member Data Documentation</h2>
<a id="a91ecea0b6e1464d2353040bbfa184853"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a91ecea0b6e1464d2353040bbfa184853">&sect;&nbsp;</a></span>bit</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="garble_2block_8h.html#a65abbf31b0a30290189cdb5059b5f785">block</a> Bit::bit</td>
        </tr>
      </table>
</div><div class="memdoc">

</div>
</div>
<hr/>The documentation for this class was generated from the following files:<ul>
<li>/Users/wangxiao/git/emp-toolkit/emp-tool/circuits/<a class="el" href="bit_8h_source.html">bit.h</a></li>
<li>/Users/wangxiao/git/emp-toolkit/emp-tool/circuits/<a class="el" href="bit_8hpp_source.html">bit.hpp</a></li>
</ul>
</div><!-- contents -->
</div><!-- doc-content -->
<!-- start footer part -->
<div id="nav-path" class="navpath"><!-- id is needed for treeview function! -->
  <ul>
    <li class="navelem"><a class="el" href="class_bit.html">Bit</a></li>
    <li class="footer">Generated by
    <a href="http://www.doxygen.org/index.html">
    <img class="footer" src="doxygen.png" alt="doxygen"/></a> 1.8.12 </li>
  </ul>
</div>
</body>
</html>
